/**
 * In me the tiger sniffs the rose.
 *
 * @Author:徐家政
 * @Date:2019-04-15 22:44
 */
package com.shiyu.demo.service.impl;

import com.shiyu.demo.entity.CommunityImg;
import com.shiyu.demo.mapper.CommunityImgMapper;
import com.shiyu.demo.service.CommunityImgService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CommunityImgServicceImpl implements CommunityImgService {
    @Resource
    private CommunityImgMapper communityImgMapper;
    @Override
    public List<CommunityImg> getHeadImg() {
        return communityImgMapper.selectByExample(null);
    }
}
